package itHeima.lesson7;

public class demo4 {
    public static void main(String[] args) {
//月标掌握引用数据类型的值传递
        int[] ages ={11, 22, 33};
        change(ages);
        System.out.println(ages[1]);
    }

    public static void change(int[] ages) {
        System.out.println(ages[1]);
        ages[1] = 100;
        System.out.println(ages[1]);

    }
}
